package com.yc.exam.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.exam.entity.Topic;
import com.yc.exam.vo.TopicVo;

import java.util.List;

/**
 * 服务类
 *
 * @author exam
 * @since 2022-03-23
 */
public interface ITopicService extends IService<Topic> {
  /** 查询试卷生成及阅卷系统的试题列表 */
  List<Topic> getTopicListByExamId(Long examId);

  /**
   * 加载分页信息
   */
  Page<TopicVo> loadVoPage(Page<Topic> examPage, TopicVo topic);
}
